import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// element ui组件库
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// vue-router 路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import RouterConfig from './Routers/RouterConfig.js'

// socket.io 服务
import SocketIOConfig from './SocketIO/SocketIOConfig.js'
Vue.use(SocketIOConfig)

// 自定义
import TagResource from './StaticResource/TagResource.js'
import CommonLib from './StaticResource/CommonLib.js'

Vue.prototype.$lib = CommonLib;
Vue.prototype.$Tag = TagResource;

new Vue({
	router: RouterConfig,
	render: h => h(App),
}).$mount('#app')
